package weaver.workflow.webservices;

public class WorkflowBaseInfo  {
	private String workflowId;
	private String workflowName;
	private String workflowTypeId;
	private String workflowTypeName;

	public WorkflowBaseInfo() {
	}

	public String getWorkflowId() {
		return this.workflowId;
	}

	public void setWorkflowId(String workflowId) {
		this.workflowId = workflowId;
	}

	public String getWorkflowName() {
		return this.workflowName;
	}

	public void setWorkflowName(String workflowName) {
		this.workflowName = workflowName;
	}

	public String getWorkflowTypeId() {
		return this.workflowTypeId;
	}

	public void setWorkflowTypeId(String workflowTypeId) {
		this.workflowTypeId = workflowTypeId;
	}

	public String getWorkflowTypeName() {
		return this.workflowTypeName;
	}

	public void setWorkflowTypeName(String workflowTypeName) {
		this.workflowTypeName = workflowTypeName;
	}

	private Object __equalsCalc = null;
	public synchronized boolean equals(Object obj) {
		if (!(obj instanceof WorkflowBaseInfo)) return false;
		WorkflowBaseInfo other = (WorkflowBaseInfo) obj;
		if (obj == null) return false;
		if (this == obj) return true;
		if (__equalsCalc != null) {
			return (__equalsCalc == obj);
		}
		__equalsCalc = obj;
		boolean _equals;
		_equals = true && 
			((this.workflowId==null && other.getWorkflowId()==null) || 
			 (this.workflowId!=null &&
			  this.workflowId.equals(other.getWorkflowId()))) &&
			((this.workflowName==null && other.getWorkflowName()==null) || 
			 (this.workflowName!=null &&
			  this.workflowName.equals(other.getWorkflowName()))) &&
			((this.workflowTypeId==null && other.getWorkflowTypeId()==null) || 
			 (this.workflowTypeId!=null &&
			  this.workflowTypeId.equals(other.getWorkflowTypeId()))) &&
			((this.workflowTypeName==null && other.getWorkflowTypeName()==null) || 
			 (this.workflowTypeName!=null &&
			  this.workflowTypeName.equals(other.getWorkflowTypeName())));
		__equalsCalc = null;
		return _equals;
	}

	private boolean __hashCodeCalc = false;
	public synchronized int hashCode() {
		if (__hashCodeCalc) {
			return 0;
		}
		__hashCodeCalc = true;
		int _hashCode = 1;
		if (getWorkflowId() != null) {
			_hashCode += getWorkflowId().hashCode();
		}
		if (getWorkflowName() != null) {
			_hashCode += getWorkflowName().hashCode();
		}
		if (getWorkflowTypeId() != null) {
			_hashCode += getWorkflowTypeId().hashCode();
		}
		if (getWorkflowTypeName() != null) {
			_hashCode += getWorkflowTypeName().hashCode();
		}
		__hashCodeCalc = false;
		return _hashCode;
	}

}
